package com.xja.shoppingmall.goods.client;

import com.xja.shoppingmall.goods.GoodsVo;
import com.xja.shoppingmall.vo.CommonResponseVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author CHENCHEN
 * @title
 * @createTime 2021-12-1521:18
 */
@FeignClient(contextId = "GoodsClient", value = "SHOPPING-MALL-SERVER-GOODS")
public interface GoodsFeignClient {

    @PostMapping("/goods/goods-module/updateGoodsCount")
    CommonResponseVO updateGoodsCount(@RequestBody GoodsVo goodsVo);

}
